W3TC\Cdn_Core B

Total Complexity 97
Dependencies 7
Dependents 0
Total lines 795
Lines of code 515
Logical lines of code 234
Comment lines 166
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
get_cdn()
D
22
22 243
uri_to_cdn_uri()
A
50 13 26
purge()
A
51 8 24
upload()
S
54 6 19
delete()
S
56 6 17
_get_multisite_url_identifier()
S
58 5 14
queue_add()
S
52 4 25
get_attachment_files()
S
58 4 16
_get_sizes_files()
S
59 4 15
normalize_attachment_file()
S
62 3 11
get_files_for_upload()
S
58 2 15
get_metadata_files()
S
68 3 7
docroot_filename_to_absolute_path()
S
66 3 8
url_to_cdn_url()
S
61 2 13
queue_upload_url()
S
61 2 12
relative_path_to_url()
S
74 1 4
abspath_to_relative_path()
S
79 1 3
__construct()
S
76 1 4
docroot_filename_to_uri()
S
70 1 6
on_stackpath2_new_access_token()
S
73 1 5
on_rackspace_cf_new_access_state()
S
73 1 5
on_rackspace_cdn_new_access_state()
S
73 1 5
on_google_drive_new_access_token()
S
73 1 5
purge_all()
S
70 1 6
build_file_descriptor()
S
68 1 7